#ifndef LCD_H
#define LCD_H
#define uchar unsigned char          
#define uint  unsigned int 

sbit SCLK=P1^3;
sbit SID=P1^4;
sbit CS=P1^5;
void SYSCLK_Init (void);
void PORT_Init (void);
void LCMInit(void);
void Delay_ms (uchar t);
void Delay(uint k);
void WriteData(unsigned char WDLCM);
void WriteCommand (uchar Cbyte);
void LcmClear( void );
void Clear(int l);
//unsigned char ReadData(void);
void CheckBusy(void);
void SendByte(uchar Dbyte);
uchar ReceiveByte(void);
void PutChar(uchar row,uchar col,uchar ch);
void PutStr(uchar row,uchar col,uchar *puts);
void WriteStr(uchar row,uchar col,uchar *puts);
void LcdShowPoint(unsigned char x);
void ImageShow(uchar *imagePtr);
void ImageShow2(uchar *imagePtr);
extern volatile int wavevalue[128];
extern const unsigned char code gImage_white[1024];
#endif